_object = _this select 0;
_unit = _this select 1;

if(local user1) then
{
	radius = 50;
	NORRN_CAM_NVG = false;
	[] call gmgps_players;
	[] call gmgps_all;
	[] call gmgps_unit;
	_ControlPanel = [["=[CONSOLE]=", "Computer\cpu_dialog.sqf"]] call CBA_fnc_addPlayerAction;
	opencomputer = compile preprocessFile "scripts\VTS_Functions\gmkeypress.sqf";
	waituntil {not isnull finddisplay 46};
	computerkeypressed = (finddisplay 46) displayaddeventhandler ["keyup","_result = _this call opencomputer"];
	_currentgmname=server getvariable "currentgmname";
	if (isnil "currentgmname") then	{server setvariable ["currentgmname",name player,true];};
} else {hint "You are not gamemaster"};